#include "StdAfx.h"
#include "..\engine\Unit.hpp"

namespace he
{
	Unit::Unit(std::string const &Name, TerrainTile const *pTile, LookDirection LookDirection_)
		: m_Name(Name),
		m_pTile(pTile),
		m_LookDirection(LookDirection_)
	{
	}

	void Unit::position(TerrainTile const *pTile)
	{
		m_pTile = pTile;
	}

	TerrainTile const * Unit::position() const
	{
		return m_pTile;
	}

	he::LookDirection Unit::look_direction() const
	{
		return m_LookDirection;
	}
} /*he*/